package com.flying.arts.trade.domain.service;


import com.flying.arts.trade.domain.entity.MatchedTrade;
import com.flying.arts.common.domain.entity.Entity;

import java.util.Collection;

public interface MatchedTradeService {
    void add(MatchedTrade trade);

    void update(MatchedTrade trade);

    void delete(long id);

    Entity findById(long id);

    Collection<MatchedTrade> findByStockName(String name);
}
